package service;

import java.util.List;

import models.Audio;

public class AudioService {
	
	public static List<Audio> findAll(){
		return Audio.findAll();
	}
	
	public static Audio findById(long id){
		return Audio.findById(id);
	}
	
	public static void crate(Audio aud){
		aud.create();
	}
	
	public static void save(Audio aud){
		aud.save();
	}
	
	public static void delete(long id){
		Audio.findById(id)._delete();
	}
	
}
